package androidx.preference;

import android.os.Bundle;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
import androidx.recyclerview.widget.o;
import b.f.l.b0.c;

@Deprecated
public class k extends o {
    final RecyclerView f;
    final b.f.l.a g = super.n();
    final b.f.l.a h = new a();

    class a extends b.f.l.a {
        a() {
        }

        public void g(View view, c cVar) {
            Preference G;
            k.this.g.g(view, cVar);
            int childAdapterPosition = k.this.f.getChildAdapterPosition(view);
            RecyclerView.g adapter = k.this.f.getAdapter();
            if ((adapter instanceof h) && (G = ((h) adapter).G(childAdapterPosition)) != null) {
                G.U(cVar);
            }
        }

        public boolean j(View view, int i, Bundle bundle) {
            return k.this.g.j(view, i, bundle);
        }
    }

    public k(RecyclerView recyclerView) {
        super(recyclerView);
        this.f = recyclerView;
    }

    public b.f.l.a n() {
        return this.h;
    }
}
